<template>
  <div style="width: fit-content; display: inline-block;">
    <p class="fang" :style="{background: color}">&nbsp;</p><p class="title">{{ title }}</p>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: () => {
        return ''
      }
    },
    color: {
      type: String,
      default: () => {
        // return '#037D72';
        // return '#009688';
        // return '#8FC320';
        return '#409EFF'
      }
    }
  },
  data () {
    return {}
  },
  create () {
  }
}
</script>

<style scoped>
    .fang {
        margin: 0;
        font-size: 13px;
        line-height: 14px;
        height: 100%;
        width: 5px;
        display: inline-block;
        vertical-align: center;
        min-height: 10px;
    }
    .title {
        margin: 0 0 0 5px;
        font-size: 13px;
        line-height: 24px;
        font-weight: 600;
        display: inline-block;
        vertical-align: center;
        color: #444;
    }
</style>
